package com.ladlee.system.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.ladlee.model.SysMenu;
import com.ladlee.system.dao.MenuMapper;
import com.ladlee.system.service.MenuService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: dingchang
 * @Date: 2018/12/24 10:12
 * @Description:
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, SysMenu> implements MenuService {
    @Override
    public List<SysMenu> getPermissions(String username) {
        return this.baseMapper.getPermissions(username);
    }
}
